package com.greenline.push.dal.query;

import java.util.Date;

import com.greenline.push.dal.base.PageQuery;
import com.greenline.push.dal.pushcenter.dataobject.TaskSyncDO;

public class TaskSyncQuery extends PageQuery<TaskSyncDO> {

    private Long id;

    private Date gmtCreated;

    private Date gmtModified;
    // 备注
    private String memo;
    // 任务状态 0执行中 1.已结束
    private Integer status;
    // 任务类型
    private Integer type;

    private String name;

    private Date startTime;

    private Date endTime;
    // 上次任务取到的数据最大值
    private Long lastRecordId;
    private Integer runPeriod;// 任务执行周期

    public Integer getRunPeriod() {
        return runPeriod;
    }

    public void setRunPeriod(Integer runPeriod) {
        this.runPeriod = runPeriod;
    }

    public Long getLastRecordId() {
        return lastRecordId;
    }

    public void setLastRecordId(Long lastRecordId) {
        this.lastRecordId = lastRecordId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

}
